/*
 * @Author: cgl
 * @Date: 2023-04-18 18:12:13
 * @LastEditors: cgl
 * @LastEditTime: 2023-04-26 15:06:05
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\basicData\manufacture.js
 * @Description: 
 * 
 * Copyright (c) 2023 by cgl/微盛信息产业有限公司, All Rights Reserved. 
 */
import request from '@/utils/request'

// 查询厂家分页列表
export function manufactureList(data) {
  return request({
    url: '/basic/manufacture/list',
    method: 'post',
    data,
  })
}
// 查询厂家列表
export function manufactureListing(params) {
  return request({
    url: '/basic/manufacture/listing',
    method: 'get',
    params,
  })
}
// 导出厂家列表
export function manufactureExport(data) {
  return request({
    url: `/basic/manufacture/export`,
    method: "post",
    data,
  });
}
// 获取厂家详细信息
export function manufactureIdDetail(manufactureId) {
  return request({
    url: '/basic/manufacture/getInfo/' + manufactureId,
    method: 'get'
  })
}
// 新增厂家
export function manufactureAdd(data) {
  return request({
    url: `/basic/manufacture/add`,
    method: "post",
    data,
  });
}
// 修改厂家
export function manufactureEdit(data) {
  return request({
    url: '/basic/manufacture/edit',
    method: 'post',
    data,
  })
}
// 删除厂家
export function manufactureDelete(manufactureIds) {
  return request({
    url: '/basic/manufacture/remove/' + manufactureIds,
    method: 'get'
  })
}